package vip.xiaonuo.biz.modular.watchtask.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 任务申请表(TaskAssignment)表实体类
 *
 * @author h
 * @since 2025-11-19 15:06:07
 */
@Data
@TableName("tb_task_assignment")
@ApiModel(value = "任务申请表", description = "任务申请表")
public class TaskAssignment implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String taskAssignmentId;

    @ApiModelProperty(value = "申请人小程序ID")
    private String appletUserId;

    @ApiModelProperty(value = "版本号")
    @Version
    @TableField(fill = FieldFill.INSERT)
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "申请时间")
    private Date applyTime;

    @ApiModelProperty(value = "申请状态0=待指派 1=已指派")
    private Integer assignmentStatus;

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "盯防奖励")
    private Integer rewards;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "任务要求")
    private String requirements;

    @ApiModelProperty(value = "指派人小程序ID")
    private String assignmentAppletId;

    @ApiModelProperty(value = "指派人平台ID")
    private String assignmentId;

    @ApiModelProperty(value = "指派人名称")
    private String assignmentName;

    @ApiModelProperty(value = "申请人平台ID")
    private String appletPlatformUserId;

    @ApiModelProperty(value = "申请人平台姓名")
    private String appletPlatformUserName;

    @ApiModelProperty(value = "指派时间")
    private Date assignmentTime;

}
